qt6-base.git
6 months ago[PATCH] QSortFilterProxyModel: don't call index(row, 0) if there are no columns
David Faure [Mon, 3 Mar 2025 18:14:59 +0000 (19:14 +0100)]
[PATCH] QSortFilterProxyModel: don't call index(row, 0) if there are no columns

This is invalid, e.g. it asserts in
QConcatenateTablesProxyModel::index()

Fixes: QTBUG-134210
Change-Id: I21acad9497d423b0366991296e8dd498d51395ea
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 93694e99c214a5166fc842f92659e42260230dce)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Gbp-Pq: Name upstream_prevent_recursion_in_qsortfilterproxymodel.diff

6 months ago[PATCH] XCB: Remove extra xcb_randr_select_input() calls
Vlad Zahorodnii [Sun, 27 Jul 2025 12:58:31 +0000 (15:58 +0300)]
[PATCH] XCB: Remove extra xcb_randr_select_input() calls

This fixes high CPU usage in kwin.

If there is a ConfigureNotify event for the root window, QtXCB will
call xcb_randr_select_input(). The problem is that the X server may send
an output change event in response to xcb_randr_select_input().

When kwin sees that output change event, it will process the event and
it can update its override redirect windows, which can produce a few
ConfigureNotify events for the root window and make kwin get stuck in an
update loop.

Since the QXcbConnection constructor already subscribes to the RandR
events, these xcb_randr_select_input() function calls can be removed.
Also, `true` is not a valid argument for xcb_randr_select_input(). It
expects a mask of events to listen. For what it's worth, `true`
corresponds to XCB_RANDR_NOTIFY_MASK_SCREEN_CHANGE = 1, which
xrandrSelectEvents() already subscribes to.

Pick-to: 6.10 6.9 6.8
Change-Id: I950a0a6e2e34822ac3da8cd69b96670e4bf4b07d
Reviewed-by: Liang Qi <liang.qi@qt.io>
Gbp-Pq: Name upstream_fix_high_cpu_load_kwin_x11.diff

6 months ago[PATCH] Add clamping to QColorTransferGenericFunction
Samuel Gaist [Sat, 24 May 2025 19:07:37 +0000 (21:07 +0200)]
[PATCH] Add clamping to QColorTransferGenericFunction

This ensures that the inputs are within range for the use of these
function.

Depending on the values passed, they can trigger FE_INVALID errors
and thus NaN as return values.

This can happen for example when feeding an invalid ICC profile to
QColorSpace::fromIccProfile.

Credit to OSS-Fuzz

Fixes: QTBUG-137159
Origin: upstream, https://download.qt.io/official_releases/qt/6.8/CVE-2025-5992-qtbase-6.8.patch

Gbp-Pq: Name upstream_cve-2025-5992_input_range_qcolortransformation.diff

6 months ago[PATCH] QColorTransferGeneric: fix the BT.2100 PQ EOTF
Giuseppe D'Angelo [Thu, 6 Feb 2025 20:00:55 +0000 (21:00 +0100)]
[PATCH] QColorTransferGeneric: fix the BT.2100 PQ EOTF

The PQ EOTF formula for BT.2100 [1][2] was incorrect. Fix it; while at
it, rename the variables to match the symbols used in the original
formula.

The inverse EOTF was correct, but also rename the variables there (for
the same reason).

[1] https://www.itu.int/rec/R-REC-BT.2100-2-201807-I/en
[2] https://en.wikipedia.org/wiki/Perceptual_quantizer#Technical_details

Change-Id: I6ce3a609824bee82053a16b3ff3cfc7cb396ce8f
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit a7ff4679facb9a44dff8b63a7e461ababa6aedfb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 35c18eba64b6220e36ea14d32b911342e9d0921c)
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Gbp-Pq: Name upstream_QColorTransferGeneric_fix_BT2100PQEOTF.patch

6 months agoqt6-base (6.8.2+dfsg-9+deb13u1) trixie; urgency=medium
Patrick Franz [Tue, 2 Sep 2025 19:04:45 +0000 (21:04 +0200)]
qt6-base (6.8.2+dfsg-9+deb13u1) trixie; urgency=medium

  * Backport patch to fix high CPU load of kwin_x11 when locking the
    screen.

[dgit import unpatched qt6-base 6.8.2+dfsg-9+deb13u1]

6 months agoImport qt6-base_6.8.2+dfsg-9+deb13u1.debian.tar.xz
Patrick Franz [Tue, 2 Sep 2025 19:04:45 +0000 (21:04 +0200)]
Import qt6-base_6.8.2+dfsg-9+deb13u1.debian.tar.xz

[dgit import tarball qt6-base 6.8.2+dfsg-9+deb13u1 qt6-base_6.8.2+dfsg-9+deb13u1.debian.tar.xz]

13 months agoImport qt6-base_6.8.2+dfsg.orig.tar.xz
Patrick Franz [Sun, 2 Feb 2025 20:05:30 +0000 (21:05 +0100)]
Import qt6-base_6.8.2+dfsg.orig.tar.xz

[dgit import orig qt6-base_6.8.2+dfsg.orig.tar.xz]